package com.njtoyo.taxi.admin.mongo.repository.primary;

import com.njtoyo.taxi.admin.mongo.entity.primary.RideRouteMongo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface RideRouteRepository extends MongoRepository<RideRouteMongo, ObjectId> {

    RideRouteMongo getByRideIdAndRideCategory(Long id, String call);
}
